package com.edu.study.entities.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.edu.study.base.wordAttributeDetail.domain.WordAttributeDetail;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@TableName("edu_word_library")
public class EduWordLibrary {

  private String id;

  /**
   * 单词
   */
  //@Excel(name = "单词")
  private String word;
  /**
   * 单词编码
   */
  //@Excel(name = "单词编码")
  private String wordCode;

  /**
   * 英式音标
   */
  //@Excel(name = "英式音标")
  private String englishPhoneticsymbol;

  /**
   * 英式发音
   */
  //@Excel(name = "英式发音")
  private String englishSoundsurl;

  /**
   * 美式音标
   */
  //@Excel(name = "美式音标")
  private String americanPhoneticsymbol;

  /**
   * 美式发音
   */
  //@Excel(name = "美式发音")
  private String americanSoundsurl;

  /**
   * 中文翻译
   */
  //@Excel(name = "中文翻译")
  private String translate;

  /**
   * 例句/特殊点
   */
  // @Excel(name = "例句/特殊点")
  private String examle;

  private String examleAudio;

  /**
   * 同近义词
   */
  //@Excel(name = "同近义词")
  private String nearWord;

  @TableField(exist = false)
  private List<EduWordLibrary> nearWords;

  /**
   * 关联词
   */
  // @Excel(name = "关联词")
  private String relateWord;

  @TableField(exist = false)
  private List<EduWordLibrary> relateWords;

  private String changeWord;

  /**
   * 词根词缀
   */
  //@Excel(name = "词根词缀")
  private String rootWord;

  /**
   * 语音讲解
   */
  //@Excel(name = "语音讲解")
  private String audioUrl;

  /**
   * 单词考试等级
   */
  //@Excel(name = "单词考试等级")
  private Long levelId;

  /**
   * 单词难度等级
   */
  //@Excel(name = "单词难度等级")
  private Long difficultyLevel;

  /**
   * 单词考试等级名称
   */
  // private String levelName;
  /**
   * 单词难度等级名称
   */
  //private String difficultyLevelName;

  /**
   * 单词测试选项内容类型
   */
  private String optionType;

  @TableField(exist = false)
  private List<WordAttributeDetail> details;

  @TableField(exist = false)
  private Boolean isCollect;

  @TableField(exist = false)
  private Boolean isStudy;
}
